@import "reset.css";
@import "../font/iconfont.css";

html,body,#page{
    height: 100%;
}

#page{
    display: flex;
    flex-direction: column;
    max-width: 750px;
    margin: 0 auto;
}

/*顶部*/
#header_top{
    height: .64rem;
    display: flex;
    background-color: #ff6040;
    padding: .45rem .12rem .12rem .33rem;
    justify-content: space-between;
    align-items: center;
    color: #ffdfd8;
    font-size: .3rem;
    p{
        span{
            &.iconfont{
                font-size: .3rem;
                color: #ffdfd8;
            }
        }
        &.iconfont{
            font-size: .3rem;
            color: #ffdfd8;
        }
        &:nth-child(2){
            margin: 0 1.23rem 0 2.61rem;
        }
        &:nth-child(3){
            width: 1.74rem;
            height: .64rem;
            border: 1px solid #ff8a6f;
            border-radius: .4rem;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-around;
            position: relative;
            i{
                width: 1px;
                height: 0.37rem;
                background-color: #ff896e;
                position: absolute;
            }
        }
    }
}

/*内容*/ 
main{
    flex: 1;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    .con{
        
        width: 6.7rem;
        height: 4.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        img{
            width: 3.65rem;
            margin: .4rem 0 .55rem;
        }
        p{
            &:nth-of-type(1){
                font-size: .44rem;
                color: #666666;
            }
            &:nth-of-type(2){
                height: .98rem;
                width: 100%;
                background-color: #ff6040;
                font-size: .3rem;
                color: #fff;
                margin-bottom: .3rem;
                text-align: center;
                line-height: .98rem;
                font-weight: bold;
            }
            &:nth-of-type(3){
                font-size: .22rem;
                color: #333;
            }
        }
    }
}

/*尾部*/ 
footer{
    width: 7.5rem;
    position: fixed;
    bottom: .16rem;
    display: flex;
    justify-content: center;
    p{
        width: 1.68rem;
        height: .1rem;
        background-color: #000;
        border-radius: .05rem;
    }
}